package com.huanong.it.xwweibo.authority.controller;

import com.google.code.kaptcha.Producer;
import com.huanong.it.xwweibo.authority.common.utils.RedisUtil;
import com.huanong.it.xwweibo.authority.service.*;
import org.springframework.beans.factory.annotation.Autowired;

public class BaseController {
    /**
     * redis工具类
     */
    @Autowired
    protected RedisUtil redisUtil;
    /**
     * 验证码生成器
     */
    @Autowired
    protected Producer producer;

    @Autowired
    protected UserService userService;

    @Autowired
    protected MenuService menuService;

    @Autowired
    protected RoleService roleService;
    @Autowired
    protected UserRoleService userRoleService;
    @Autowired
    protected RoleMenuService roleMenuService;

}
